package com.lib.model.dto;

import java.io.Serializable;
import java.sql.Date;

public class LendingDto implements Serializable {
	private int rn;
	private String book_num;
	private String bookname;
	private String author;
	private String company;
	private String isbn;
	private String contentslist;
	private Date bookdate;
	private String requestnum;
	private String statecode;
	private String statename;
	private Date startdate;
	private Date enddate;
	private Date prearrdate;
	private String extentioncheck;
	private String id;
	private String name;
	private Date restrictdate;
	private int overdue;
	
	public LendingDto() {}
	
	
	
	public LendingDto(String book_num, String id) {
		this.book_num = book_num;
		this.id = id;
	}



	public LendingDto(int rn, String book_num, String bookname, Date startdate,
			Date prearrdate, String id, String name) {
		this.rn = rn;
		this.book_num = book_num;
		this.bookname = bookname;
		this.startdate = startdate;
		this.prearrdate = prearrdate;
		this.id = id;
		this.name = name;
	}

	public LendingDto(int rn, String book_num, String bookname, String author,
			String company, String isbn, String contentslist, Date bookdate,
			String requestnum, String statecode, String statename,
			Date startdate, Date enddate, Date prearrdate,
			String extentioncheck, String id, String name, Date restrictdate, int overdue) {
		this.rn = rn;
		this.book_num = book_num;
		this.bookname = bookname;
		this.author = author;
		this.company = company;
		this.isbn = isbn;
		this.contentslist = contentslist;
		this.bookdate = bookdate;
		this.requestnum = requestnum;
		this.statecode = statecode;
		this.statename = statename;
		this.startdate = startdate;
		this.enddate = enddate;
		this.prearrdate = prearrdate;
		this.extentioncheck = extentioncheck;
		this.id = id;
		this.name = name;
		this.restrictdate = restrictdate;
		this.overdue = overdue;
	}

	
	public int getOverdue() {
		return overdue;
	}



	public void setOverdue(int overdue) {
		this.overdue = overdue;
	}



	public int getRn() {
		return rn;
	}

	public void setRn(int rn) {
		this.rn = rn;
	}

	public String getBook_num() {
		return book_num;
	}

	public void setBook_num(String book_num) {
		this.book_num = book_num;
	}

	public String getBookname() {
		return bookname;
	}

	public void setBookname(String bookname) {
		this.bookname = bookname;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getIsbn() {
		return isbn;
	}

	public void setIsbn(String isbn) {
		this.isbn = isbn;
	}

	public String getContentslist() {
		return contentslist;
	}

	public void setContentslist(String contentslist) {
		this.contentslist = contentslist;
	}

	public Date getBookdate() {
		return bookdate;
	}

	public void setBookdate(Date bookdate) {
		this.bookdate = bookdate;
	}

	public String getRequestnum() {
		return requestnum;
	}

	public void setRequestnum(String requestnum) {
		this.requestnum = requestnum;
	}

	public String getStatecode() {
		return statecode;
	}

	public void setStatecode(String statecode) {
		this.statecode = statecode;
	}

	public String getStatename() {
		return statename;
	}

	public void setStatename(String statename) {
		this.statename = statename;
	}

	public Date getStartdate() {
		return startdate;
	}

	public void setStartdate(Date startdate) {
		this.startdate = startdate;
	}

	public Date getEnddate() {
		return enddate;
	}

	public void setEnddate(Date enddate) {
		this.enddate = enddate;
	}

	public Date getPrearrdate() {
		return prearrdate;
	}

	public void setPrearrdate(Date prearrdate) {
		this.prearrdate = prearrdate;
	}

	public String getExtentioncheck() {
		return extentioncheck;
	}

	public void setExtentioncheck(String extentioncheck) {
		this.extentioncheck = extentioncheck;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getRestrictdate() {
		return restrictdate;
	}

	public void setRestrictdate(Date restrictdate) {
		this.restrictdate = restrictdate;
	}



	@Override
	public String toString() {
		return "LendingDto [rn=" + rn + ", book_num=" + book_num
				+ ", bookname=" + bookname + ", author=" + author
				+ ", company=" + company + ", isbn=" + isbn + ", contentslist="
				+ contentslist + ", bookdate=" + bookdate + ", requestnum="
				+ requestnum + ", statecode=" + statecode + ", statename="
				+ statename + ", startdate=" + startdate + ", enddate="
				+ enddate + ", prearrdate=" + prearrdate + ", extentioncheck="
				+ extentioncheck + ", id=" + id + ", name=" + name
				+ ", restrictdate=" + restrictdate + ", overdue=" + overdue
				+ "]";
	}

	
	
}
